package com.beamfield.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class LabInstrumentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LabInstrumentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andInstr_noIsNull() {
            addCriterion("instr_no is null");
            return (Criteria) this;
        }

        public Criteria andInstr_noIsNotNull() {
            addCriterion("instr_no is not null");
            return (Criteria) this;
        }

        public Criteria andInstr_noEqualTo(String value) {
            addCriterion("instr_no =", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noNotEqualTo(String value) {
            addCriterion("instr_no <>", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noGreaterThan(String value) {
            addCriterion("instr_no >", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noGreaterThanOrEqualTo(String value) {
            addCriterion("instr_no >=", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noLessThan(String value) {
            addCriterion("instr_no <", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noLessThanOrEqualTo(String value) {
            addCriterion("instr_no <=", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noLike(String value) {
            addCriterion("instr_no like", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noNotLike(String value) {
            addCriterion("instr_no not like", value, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noIn(List<String> values) {
            addCriterion("instr_no in", values, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noNotIn(List<String> values) {
            addCriterion("instr_no not in", values, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noBetween(String value1, String value2) {
            addCriterion("instr_no between", value1, value2, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_noNotBetween(String value1, String value2) {
            addCriterion("instr_no not between", value1, value2, "instr_no");
            return (Criteria) this;
        }

        public Criteria andInstr_nameIsNull() {
            addCriterion("instr_name is null");
            return (Criteria) this;
        }

        public Criteria andInstr_nameIsNotNull() {
            addCriterion("instr_name is not null");
            return (Criteria) this;
        }

        public Criteria andInstr_nameEqualTo(String value) {
            addCriterion("instr_name =", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameNotEqualTo(String value) {
            addCriterion("instr_name <>", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameGreaterThan(String value) {
            addCriterion("instr_name >", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameGreaterThanOrEqualTo(String value) {
            addCriterion("instr_name >=", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameLessThan(String value) {
            addCriterion("instr_name <", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameLessThanOrEqualTo(String value) {
            addCriterion("instr_name <=", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameLike(String value) {
            addCriterion("instr_name like", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameNotLike(String value) {
            addCriterion("instr_name not like", value, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameIn(List<String> values) {
            addCriterion("instr_name in", values, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameNotIn(List<String> values) {
            addCriterion("instr_name not in", values, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameBetween(String value1, String value2) {
            addCriterion("instr_name between", value1, value2, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_nameNotBetween(String value1, String value2) {
            addCriterion("instr_name not between", value1, value2, "instr_name");
            return (Criteria) this;
        }

        public Criteria andInstr_modelIsNull() {
            addCriterion("instr_model is null");
            return (Criteria) this;
        }

        public Criteria andInstr_modelIsNotNull() {
            addCriterion("instr_model is not null");
            return (Criteria) this;
        }

        public Criteria andInstr_modelEqualTo(String value) {
            addCriterion("instr_model =", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelNotEqualTo(String value) {
            addCriterion("instr_model <>", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelGreaterThan(String value) {
            addCriterion("instr_model >", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelGreaterThanOrEqualTo(String value) {
            addCriterion("instr_model >=", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelLessThan(String value) {
            addCriterion("instr_model <", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelLessThanOrEqualTo(String value) {
            addCriterion("instr_model <=", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelLike(String value) {
            addCriterion("instr_model like", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelNotLike(String value) {
            addCriterion("instr_model not like", value, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelIn(List<String> values) {
            addCriterion("instr_model in", values, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelNotIn(List<String> values) {
            addCriterion("instr_model not in", values, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelBetween(String value1, String value2) {
            addCriterion("instr_model between", value1, value2, "instr_model");
            return (Criteria) this;
        }

        public Criteria andInstr_modelNotBetween(String value1, String value2) {
            addCriterion("instr_model not between", value1, value2, "instr_model");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNull() {
            addCriterion("manufacturer is null");
            return (Criteria) this;
        }

        public Criteria andManufacturerIsNotNull() {
            addCriterion("manufacturer is not null");
            return (Criteria) this;
        }

        public Criteria andManufacturerEqualTo(String value) {
            addCriterion("manufacturer =", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotEqualTo(String value) {
            addCriterion("manufacturer <>", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThan(String value) {
            addCriterion("manufacturer >", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerGreaterThanOrEqualTo(String value) {
            addCriterion("manufacturer >=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThan(String value) {
            addCriterion("manufacturer <", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLessThanOrEqualTo(String value) {
            addCriterion("manufacturer <=", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerLike(String value) {
            addCriterion("manufacturer like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotLike(String value) {
            addCriterion("manufacturer not like", value, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerIn(List<String> values) {
            addCriterion("manufacturer in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotIn(List<String> values) {
            addCriterion("manufacturer not in", values, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerBetween(String value1, String value2) {
            addCriterion("manufacturer between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManufacturerNotBetween(String value1, String value2) {
            addCriterion("manufacturer not between", value1, value2, "manufacturer");
            return (Criteria) this;
        }

        public Criteria andManu_dateIsNull() {
            addCriterion("manu_date is null");
            return (Criteria) this;
        }

        public Criteria andManu_dateIsNotNull() {
            addCriterion("manu_date is not null");
            return (Criteria) this;
        }

        public Criteria andManu_dateEqualTo(Date value) {
            addCriterion("manu_date =", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateNotEqualTo(Date value) {
            addCriterion("manu_date <>", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateGreaterThan(Date value) {
            addCriterion("manu_date >", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateGreaterThanOrEqualTo(Date value) {
            addCriterion("manu_date >=", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateLessThan(Date value) {
            addCriterion("manu_date <", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateLessThanOrEqualTo(Date value) {
            addCriterion("manu_date <=", value, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateIn(List<Date> values) {
            addCriterion("manu_date in", values, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateNotIn(List<Date> values) {
            addCriterion("manu_date not in", values, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateBetween(Date value1, Date value2) {
            addCriterion("manu_date between", value1, value2, "manu_date");
            return (Criteria) this;
        }

        public Criteria andManu_dateNotBetween(Date value1, Date value2) {
            addCriterion("manu_date not between", value1, value2, "manu_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateIsNull() {
            addCriterion("purchar_date is null");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateIsNotNull() {
            addCriterion("purchar_date is not null");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateEqualTo(Date value) {
            addCriterion("purchar_date =", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateNotEqualTo(Date value) {
            addCriterion("purchar_date <>", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateGreaterThan(Date value) {
            addCriterion("purchar_date >", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateGreaterThanOrEqualTo(Date value) {
            addCriterion("purchar_date >=", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateLessThan(Date value) {
            addCriterion("purchar_date <", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateLessThanOrEqualTo(Date value) {
            addCriterion("purchar_date <=", value, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateIn(List<Date> values) {
            addCriterion("purchar_date in", values, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateNotIn(List<Date> values) {
            addCriterion("purchar_date not in", values, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateBetween(Date value1, Date value2) {
            addCriterion("purchar_date between", value1, value2, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andPurchar_dateNotBetween(Date value1, Date value2) {
            addCriterion("purchar_date not between", value1, value2, "purchar_date");
            return (Criteria) this;
        }

        public Criteria andManu_noIsNull() {
            addCriterion("manu_no is null");
            return (Criteria) this;
        }

        public Criteria andManu_noIsNotNull() {
            addCriterion("manu_no is not null");
            return (Criteria) this;
        }

        public Criteria andManu_noEqualTo(String value) {
            addCriterion("manu_no =", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noNotEqualTo(String value) {
            addCriterion("manu_no <>", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noGreaterThan(String value) {
            addCriterion("manu_no >", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noGreaterThanOrEqualTo(String value) {
            addCriterion("manu_no >=", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noLessThan(String value) {
            addCriterion("manu_no <", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noLessThanOrEqualTo(String value) {
            addCriterion("manu_no <=", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noLike(String value) {
            addCriterion("manu_no like", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noNotLike(String value) {
            addCriterion("manu_no not like", value, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noIn(List<String> values) {
            addCriterion("manu_no in", values, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noNotIn(List<String> values) {
            addCriterion("manu_no not in", values, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noBetween(String value1, String value2) {
            addCriterion("manu_no between", value1, value2, "manu_no");
            return (Criteria) this;
        }

        public Criteria andManu_noNotBetween(String value1, String value2) {
            addCriterion("manu_no not between", value1, value2, "manu_no");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeIsNull() {
            addCriterion("meas_range is null");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeIsNotNull() {
            addCriterion("meas_range is not null");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeEqualTo(String value) {
            addCriterion("meas_range =", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeNotEqualTo(String value) {
            addCriterion("meas_range <>", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeGreaterThan(String value) {
            addCriterion("meas_range >", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeGreaterThanOrEqualTo(String value) {
            addCriterion("meas_range >=", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeLessThan(String value) {
            addCriterion("meas_range <", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeLessThanOrEqualTo(String value) {
            addCriterion("meas_range <=", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeLike(String value) {
            addCriterion("meas_range like", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeNotLike(String value) {
            addCriterion("meas_range not like", value, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeIn(List<String> values) {
            addCriterion("meas_range in", values, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeNotIn(List<String> values) {
            addCriterion("meas_range not in", values, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeBetween(String value1, String value2) {
            addCriterion("meas_range between", value1, value2, "meas_range");
            return (Criteria) this;
        }

        public Criteria andMeas_rangeNotBetween(String value1, String value2) {
            addCriterion("meas_range not between", value1, value2, "meas_range");
            return (Criteria) this;
        }

        public Criteria andAccuracyIsNull() {
            addCriterion("accuracy is null");
            return (Criteria) this;
        }

        public Criteria andAccuracyIsNotNull() {
            addCriterion("accuracy is not null");
            return (Criteria) this;
        }

        public Criteria andAccuracyEqualTo(String value) {
            addCriterion("accuracy =", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyNotEqualTo(String value) {
            addCriterion("accuracy <>", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyGreaterThan(String value) {
            addCriterion("accuracy >", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyGreaterThanOrEqualTo(String value) {
            addCriterion("accuracy >=", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyLessThan(String value) {
            addCriterion("accuracy <", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyLessThanOrEqualTo(String value) {
            addCriterion("accuracy <=", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyLike(String value) {
            addCriterion("accuracy like", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyNotLike(String value) {
            addCriterion("accuracy not like", value, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyIn(List<String> values) {
            addCriterion("accuracy in", values, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyNotIn(List<String> values) {
            addCriterion("accuracy not in", values, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyBetween(String value1, String value2) {
            addCriterion("accuracy between", value1, value2, "accuracy");
            return (Criteria) this;
        }

        public Criteria andAccuracyNotBetween(String value1, String value2) {
            addCriterion("accuracy not between", value1, value2, "accuracy");
            return (Criteria) this;
        }

        public Criteria andPriceIsNull() {
            addCriterion("price is null");
            return (Criteria) this;
        }

        public Criteria andPriceIsNotNull() {
            addCriterion("price is not null");
            return (Criteria) this;
        }

        public Criteria andPriceEqualTo(Double value) {
            addCriterion("price =", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotEqualTo(Double value) {
            addCriterion("price <>", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThan(Double value) {
            addCriterion("price >", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceGreaterThanOrEqualTo(Double value) {
            addCriterion("price >=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThan(Double value) {
            addCriterion("price <", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceLessThanOrEqualTo(Double value) {
            addCriterion("price <=", value, "price");
            return (Criteria) this;
        }

        public Criteria andPriceIn(List<Double> values) {
            addCriterion("price in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotIn(List<Double> values) {
            addCriterion("price not in", values, "price");
            return (Criteria) this;
        }

        public Criteria andPriceBetween(Double value1, Double value2) {
            addCriterion("price between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andPriceNotBetween(Double value1, Double value2) {
            addCriterion("price not between", value1, value2, "price");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleIsNull() {
            addCriterion("calibration_cycle is null");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleIsNotNull() {
            addCriterion("calibration_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleEqualTo(String value) {
            addCriterion("calibration_cycle =", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleNotEqualTo(String value) {
            addCriterion("calibration_cycle <>", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleGreaterThan(String value) {
            addCriterion("calibration_cycle >", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleGreaterThanOrEqualTo(String value) {
            addCriterion("calibration_cycle >=", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleLessThan(String value) {
            addCriterion("calibration_cycle <", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleLessThanOrEqualTo(String value) {
            addCriterion("calibration_cycle <=", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleLike(String value) {
            addCriterion("calibration_cycle like", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleNotLike(String value) {
            addCriterion("calibration_cycle not like", value, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleIn(List<String> values) {
            addCriterion("calibration_cycle in", values, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleNotIn(List<String> values) {
            addCriterion("calibration_cycle not in", values, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleBetween(String value1, String value2) {
            addCriterion("calibration_cycle between", value1, value2, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCalibration_cycleNotBetween(String value1, String value2) {
            addCriterion("calibration_cycle not between", value1, value2, "calibration_cycle");
            return (Criteria) this;
        }

        public Criteria andCustodianIsNull() {
            addCriterion("custodian is null");
            return (Criteria) this;
        }

        public Criteria andCustodianIsNotNull() {
            addCriterion("custodian is not null");
            return (Criteria) this;
        }

        public Criteria andCustodianEqualTo(String value) {
            addCriterion("custodian =", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotEqualTo(String value) {
            addCriterion("custodian <>", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianGreaterThan(String value) {
            addCriterion("custodian >", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianGreaterThanOrEqualTo(String value) {
            addCriterion("custodian >=", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLessThan(String value) {
            addCriterion("custodian <", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLessThanOrEqualTo(String value) {
            addCriterion("custodian <=", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianLike(String value) {
            addCriterion("custodian like", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotLike(String value) {
            addCriterion("custodian not like", value, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianIn(List<String> values) {
            addCriterion("custodian in", values, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotIn(List<String> values) {
            addCriterion("custodian not in", values, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianBetween(String value1, String value2) {
            addCriterion("custodian between", value1, value2, "custodian");
            return (Criteria) this;
        }

        public Criteria andCustodianNotBetween(String value1, String value2) {
            addCriterion("custodian not between", value1, value2, "custodian");
            return (Criteria) this;
        }

        public Criteria andStorage_locationIsNull() {
            addCriterion("storage_location is null");
            return (Criteria) this;
        }

        public Criteria andStorage_locationIsNotNull() {
            addCriterion("storage_location is not null");
            return (Criteria) this;
        }

        public Criteria andStorage_locationEqualTo(String value) {
            addCriterion("storage_location =", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationNotEqualTo(String value) {
            addCriterion("storage_location <>", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationGreaterThan(String value) {
            addCriterion("storage_location >", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationGreaterThanOrEqualTo(String value) {
            addCriterion("storage_location >=", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationLessThan(String value) {
            addCriterion("storage_location <", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationLessThanOrEqualTo(String value) {
            addCriterion("storage_location <=", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationLike(String value) {
            addCriterion("storage_location like", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationNotLike(String value) {
            addCriterion("storage_location not like", value, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationIn(List<String> values) {
            addCriterion("storage_location in", values, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationNotIn(List<String> values) {
            addCriterion("storage_location not in", values, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationBetween(String value1, String value2) {
            addCriterion("storage_location between", value1, value2, "storage_location");
            return (Criteria) this;
        }

        public Criteria andStorage_locationNotBetween(String value1, String value2) {
            addCriterion("storage_location not between", value1, value2, "storage_location");
            return (Criteria) this;
        }

        public Criteria andFile_idIsNull() {
            addCriterion("file_id is null");
            return (Criteria) this;
        }

        public Criteria andFile_idIsNotNull() {
            addCriterion("file_id is not null");
            return (Criteria) this;
        }

        public Criteria andFile_idEqualTo(Long value) {
            addCriterion("file_id =", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idNotEqualTo(Long value) {
            addCriterion("file_id <>", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idGreaterThan(Long value) {
            addCriterion("file_id >", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idGreaterThanOrEqualTo(Long value) {
            addCriterion("file_id >=", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idLessThan(Long value) {
            addCriterion("file_id <", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idLessThanOrEqualTo(Long value) {
            addCriterion("file_id <=", value, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idIn(List<Long> values) {
            addCriterion("file_id in", values, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idNotIn(List<Long> values) {
            addCriterion("file_id not in", values, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idBetween(Long value1, Long value2) {
            addCriterion("file_id between", value1, value2, "file_id");
            return (Criteria) this;
        }

        public Criteria andFile_idNotBetween(Long value1, Long value2) {
            addCriterion("file_id not between", value1, value2, "file_id");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleIsNull() {
            addCriterion("maint_cycle is null");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleIsNotNull() {
            addCriterion("maint_cycle is not null");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleEqualTo(String value) {
            addCriterion("maint_cycle =", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleNotEqualTo(String value) {
            addCriterion("maint_cycle <>", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleGreaterThan(String value) {
            addCriterion("maint_cycle >", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleGreaterThanOrEqualTo(String value) {
            addCriterion("maint_cycle >=", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleLessThan(String value) {
            addCriterion("maint_cycle <", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleLessThanOrEqualTo(String value) {
            addCriterion("maint_cycle <=", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleLike(String value) {
            addCriterion("maint_cycle like", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleNotLike(String value) {
            addCriterion("maint_cycle not like", value, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleIn(List<String> values) {
            addCriterion("maint_cycle in", values, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleNotIn(List<String> values) {
            addCriterion("maint_cycle not in", values, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleBetween(String value1, String value2) {
            addCriterion("maint_cycle between", value1, value2, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andMaint_cycleNotBetween(String value1, String value2) {
            addCriterion("maint_cycle not between", value1, value2, "maint_cycle");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNull() {
            addCriterion("operator is null");
            return (Criteria) this;
        }

        public Criteria andOperatorIsNotNull() {
            addCriterion("operator is not null");
            return (Criteria) this;
        }

        public Criteria andOperatorEqualTo(Long value) {
            addCriterion("operator =", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotEqualTo(Long value) {
            addCriterion("operator <>", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThan(Long value) {
            addCriterion("operator >", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorGreaterThanOrEqualTo(Long value) {
            addCriterion("operator >=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThan(Long value) {
            addCriterion("operator <", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorLessThanOrEqualTo(Long value) {
            addCriterion("operator <=", value, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorIn(List<Long> values) {
            addCriterion("operator in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotIn(List<Long> values) {
            addCriterion("operator not in", values, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorBetween(Long value1, Long value2) {
            addCriterion("operator between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andOperatorNotBetween(Long value1, Long value2) {
            addCriterion("operator not between", value1, value2, "operator");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNull() {
            addCriterion("addtime is null");
            return (Criteria) this;
        }

        public Criteria andAddtimeIsNotNull() {
            addCriterion("addtime is not null");
            return (Criteria) this;
        }

        public Criteria andAddtimeEqualTo(Date value) {
            addCriterion("addtime =", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotEqualTo(Date value) {
            addCriterion("addtime <>", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThan(Date value) {
            addCriterion("addtime >", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeGreaterThanOrEqualTo(Date value) {
            addCriterion("addtime >=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThan(Date value) {
            addCriterion("addtime <", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeLessThanOrEqualTo(Date value) {
            addCriterion("addtime <=", value, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeIn(List<Date> values) {
            addCriterion("addtime in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotIn(List<Date> values) {
            addCriterion("addtime not in", values, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeBetween(Date value1, Date value2) {
            addCriterion("addtime between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andAddtimeNotBetween(Date value1, Date value2) {
            addCriterion("addtime not between", value1, value2, "addtime");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNull() {
            addCriterion("updater is null");
            return (Criteria) this;
        }

        public Criteria andUpdaterIsNotNull() {
            addCriterion("updater is not null");
            return (Criteria) this;
        }

        public Criteria andUpdaterEqualTo(Long value) {
            addCriterion("updater =", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotEqualTo(Long value) {
            addCriterion("updater <>", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThan(Long value) {
            addCriterion("updater >", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterGreaterThanOrEqualTo(Long value) {
            addCriterion("updater >=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThan(Long value) {
            addCriterion("updater <", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterLessThanOrEqualTo(Long value) {
            addCriterion("updater <=", value, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterIn(List<Long> values) {
            addCriterion("updater in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotIn(List<Long> values) {
            addCriterion("updater not in", values, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterBetween(Long value1, Long value2) {
            addCriterion("updater between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdaterNotBetween(Long value1, Long value2) {
            addCriterion("updater not between", value1, value2, "updater");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updatetime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updatetime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updatetime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updatetime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updatetime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updatetime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updatetime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updatetime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updatetime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updatetime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updatetime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updatetime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNull() {
            addCriterion("beam_id is null");
            return (Criteria) this;
        }

        public Criteria andBeam_idIsNotNull() {
            addCriterion("beam_id is not null");
            return (Criteria) this;
        }

        public Criteria andBeam_idEqualTo(Long value) {
            addCriterion("beam_id =", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotEqualTo(Long value) {
            addCriterion("beam_id <>", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThan(Long value) {
            addCriterion("beam_id >", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idGreaterThanOrEqualTo(Long value) {
            addCriterion("beam_id >=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThan(Long value) {
            addCriterion("beam_id <", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idLessThanOrEqualTo(Long value) {
            addCriterion("beam_id <=", value, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idIn(List<Long> values) {
            addCriterion("beam_id in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotIn(List<Long> values) {
            addCriterion("beam_id not in", values, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idBetween(Long value1, Long value2) {
            addCriterion("beam_id between", value1, value2, "beam_id");
            return (Criteria) this;
        }

        public Criteria andBeam_idNotBetween(Long value1, Long value2) {
            addCriterion("beam_id not between", value1, value2, "beam_id");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}